[INFO] cloning repository https://github.com/reevik/teleport
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/reevik/teleport" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freevik%2Fteleport", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freevik%2Fteleport'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8c716e7c9b5d76a48ac4288fe066c73c7e3c5419
[INFO] checking reevik/teleport against master#c290daa1e5274a52e54a0f49e31bd70192abc606 for pr-133502-23
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freevik%2Fteleport" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/reevik/teleport
[INFO] finished tweaking git repo https://github.com/reevik/teleport
[INFO] tweaked toml for git repo https://github.com/reevik/teleport written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/reevik/teleport on toolchain c290daa1e5274a52e54a0f49e31bd70192abc606
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/reevik/teleport already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serial_test_derive v3.4.0
[INFO] [stderr]   Downloaded serial_test v3.4.0
[INFO] [stderr]   Downloaded sdd v3.0.10
[INFO] [stderr]   Downloaded scc v2.4.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 936d0174d5961aba55a6d41cccfcb0058f3979be51d4c94f91e5747947801c3a
[INFO] running `Command { std: "docker" "start" "936d0174d5961aba55a6d41cccfcb0058f3979be51d4c94f91e5747947801c3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "936d0174d5961aba55a6d41cccfcb0058f3979be51d4c94f91e5747947801c3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "936d0174d5961aba55a6d41cccfcb0058f3979be51d4c94f91e5747947801c3a" "/opt/rustwide/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "936d0174d5961aba55a6d41cccfcb0058f3979be51d4c94f91e5747947801c3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "936d0174d5961aba55a6d41cccfcb0058f3979be51d4c94f91e5747947801c3a" "/opt/rustwide/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling proc-macro2 v1.0.105
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]     Checking futures-core v0.3.32
[INFO] [stderr]     Checking sdd v3.0.10
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking scc v2.4.0
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling serial_test_derive v3.4.0
[INFO] [stderr]     Checking serial_test v3.4.0
[INFO] [stderr]     Checking teleport v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::io::delete_index`
[INFO] [stdout]  --> src/paging.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::io::delete_index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serial_test::serial`
[INFO] [stdout]  --> src/paging.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use serial_test::serial;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/btree.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::io`
[INFO] [stdout]  --> src/btree.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::io;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::paging::Page`
[INFO] [stdout]  --> src/btree.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::paging::Page;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/btree.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::io`
[INFO] [stdout]  --> src/btree.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::io;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::paging::Page`
[INFO] [stdout]  --> src/btree.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::paging::Page;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/paging.rs:127:13
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let mut current_page = head_page;
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/paging.rs:127:13
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let mut current_page = head_page;
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MIN_FAN_OUT` is never used
[INFO] [stdout]   --> src/paging.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const MIN_FAN_OUT: usize = 5;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_FAN_OUT` is never used
[INFO] [stdout]   --> src/paging.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const MAX_FAN_OUT: usize = 10;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_KEY_SIZE` is never used
[INFO] [stdout]   --> src/paging.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const MAX_KEY_SIZE: usize = 1024;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S_SLOT_TABLE_ITEM` is never used
[INFO] [stdout]   --> src/paging.rs:34:7
[INFO] [stdout]    |
[INFO] [stdout] 34 | const S_SLOT_TABLE_ITEM: usize = size_of::<Offset>();
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S_DATA_TYPE` is never used
[INFO] [stdout]   --> src/paging.rs:35:7
[INFO] [stdout]    |
[INFO] [stdout] 35 | const S_DATA_TYPE: usize = size_of::<u8>();
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S_OFFSET` is never used
[INFO] [stdout]   --> src/paging.rs:37:7
[INFO] [stdout]    |
[INFO] [stdout] 37 | const S_OFFSET: usize = size_of::<Offset>();
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S_DATA_LENGTH` is never used
[INFO] [stdout]   --> src/paging.rs:39:7
[INFO] [stdout]    |
[INFO] [stdout] 39 | const S_DATA_LENGTH: usize = S_OFFSET;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SINGLE_RECORD_METADATA_SPACE_REQUIREMENT` is never used
[INFO] [stdout]   --> src/paging.rs:56:11
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub const SINGLE_RECORD_METADATA_SPACE_REQUIREMENT: usize =
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SINGLE_SLOT_HEADER_SIZE` is never used
[INFO] [stdout]   --> src/paging.rs:58:11
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub const SINGLE_SLOT_HEADER_SIZE: usize = 1 * S_PAGE_ID + 2 * S_DATA_LENGTH + 2 * S_DATA_TYPE;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `F_DELETED` is never used
[INFO] [stdout]   --> src/paging.rs:72:7
[INFO] [stdout]    |
[INFO] [stdout] 72 | const F_DELETED: u8 = 9u8;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `READ_ERR` is never used
[INFO] [stdout]   --> src/paging.rs:74:7
[INFO] [stdout]    |
[INFO] [stdout] 74 | const READ_ERR: &str = "Failed to read page.";
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DATA_PAGE` is never used
[INFO] [stdout]   --> src/paging.rs:82:7
[INFO] [stdout]    |
[INFO] [stdout] 82 | const DATA_PAGE: u8 = 0;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/paging.rs:115:19
[INFO] [stdout]     |
[INFO] [stdout]  92 | impl Page {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub(crate) fn new_from(buffer: [u8; PAGE_SIZE_USIZE]) -> Self {
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn new_leaf(key: Key, payload: Payload) -> Result<Offset, InvalidPageOffsetError> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     pub fn add(&mut self, key: Key, payload: Payload) -> Result<Offset, InvalidPageOffsetError> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn add_left_most(&mut self, left_most_page_id: Offset) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     fn add_key_ref(&mut self, key: Key, payload: Payload) -> Result<(), InvalidPageOffsetError> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     fn delete_key(&mut self, key: Key) -> Result<(), InvalidPageOffsetError> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 174 |     fn add_key_data(
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 219 |     fn available_space_for_payload(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 238 |     fn slots_available(&mut self) -> Result<usize, InvalidPageOffsetError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 249 |     fn get_overflow_data(&self) -> Result<(Vec<u8>, Offset), InvalidPageOffsetError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 283 |     fn add_overflow_data(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 311 |     fn max_available_payload_size_in_overflow_page(&self) -> Offset {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 315 |     fn slot_size(key_len: usize, payload_len: usize) -> Offset {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 321 |     pub(crate) fn is_marked_deleted(&self) -> bool {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 325 |     fn delete_slot(&mut self, index: usize) -> Result<(), InvalidPageOffsetError> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 366 |     fn update_slot_table_item(&mut self, index: usize, offset: Offset) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 374 |     fn shift_right_offset_value_in_slot_table_item(&mut self, index: usize, amount: Offset) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 389 |     fn get_slot_boundaries(&self, index: usize) -> Result<(usize, usize), InvalidPageOffsetError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 420 |     fn add_to_slot_table(&mut self, new_free_end: Offset) -> Result<(), InvalidPageOffsetError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 433 |     fn get_for_key(&self, key: Key) -> Result<Option<String>, InvalidPageOffsetError> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 449 |     fn payload_at(&self, index: usize) -> Result<String, InvalidPageOffsetError> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 517 |     fn stringify(data: Vec<u8>) -> String {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 521 |     fn add_slot(&mut self, slot: &Vec<u8>) -> Result<Offset, InvalidPageOffsetError> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 533 |     pub(crate) fn free_size(&self) -> Offset {
[INFO] [stdout]     |                   ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 537 |     fn read_le<T, const N: usize>(buf: &[u8], offset: usize, f: fn(Vec<u8>) -> T) -> T {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 543 |     fn read_le_into_buffer<T>(buf: &[u8], offset: usize, length: usize, f: fn(Vec<u8>) -> T) -> T {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 554 |     fn num_of_slots(&self) -> Offset {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 571 |     pub(crate) fn page_id(&self) -> Offset {
[INFO] [stdout]     |                   ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 581 |     pub(crate) fn buffer(&self) -> &[u8] {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 585 |     pub(crate) fn page_type(&self) -> u8 {
[INFO] [stdout]     |                   ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 597 |     fn flags(&self) -> u8 {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 607 |     fn left_most_page_id(&self) -> Offset {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 617 |     fn left_sibling(&self) -> Offset {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 634 |     fn right_sibling(&self) -> Offset {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 651 |     fn parent(&self) -> Offset {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 668 |     pub(crate) fn free_start(&self) -> Offset {
[INFO] [stdout]     |                   ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 678 |     fn free_end(&self) -> Offset {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 688 |     fn key_at(&self, index: usize) -> Result<String, InvalidPageOffsetError> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 718 |     pub(crate) fn mark_deleted(&mut self) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 722 |     pub(crate) fn merge_into(&mut self, target_page: &mut Page) -> Result<(), InvalidPageOffsetError> {
[INFO] [stdout]     |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_to_page` is never used
[INFO] [stdout]    --> src/paging.rs:874:4
[INFO] [stdout]     |
[INFO] [stdout] 874 | fn add_to_page(page_id: usize, key: String, second_input: String) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_string` is never used
[INFO] [stdout]     --> src/paging.rs:1122:4
[INFO] [stdout]      |
[INFO] [stdout] 1122 | fn random_string(len: usize) -> String {
[INFO] [stdout]      |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `get`, `from_u16`, `from_usize`, and `size` are never used
[INFO] [stdout]   --> src/types.rs:12:19
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl OffsetType<u16> {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 11 |
[INFO] [stdout] 12 |     pub(crate) fn get(&self,) -> usize {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub(crate) fn from_u16(i: u16) -> Self {
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub(crate) fn from_usize(value: usize) -> Self {
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub(crate) fn size() -> usize {
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PayloadType` is never used
[INFO] [stdout]    --> src/types.rs:182:17
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub(crate) enum PayloadType {
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Payload` is never constructed
[INFO] [stdout]    --> src/types.rs:192:19
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub(crate) struct Payload {
[INFO] [stdout]     |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `stringify` is never used
[INFO] [stdout]    --> src/types.rs:198:4
[INFO] [stdout]     |
[INFO] [stdout] 198 | fn stringify(data: Vec<u8>) -> String {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/types.rs:203:19
[INFO] [stdout]     |
[INFO] [stdout] 202 | impl Payload {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout] 203 |     pub(crate) fn to_bytes(&self) -> &Vec<u8> {
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 207 |     pub(crate) fn to_str(&self) -> String {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |     pub(crate) fn from_str(payload: String) -> Self {
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 221 |     pub(crate) fn from_u32(payload: u32) -> Self {
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 230 |     pub(crate) fn from_u16(payload: u16) -> Self {
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 239 |     pub(crate) fn from_i64(payload: i64) -> Self {
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 247 |     pub(crate) fn from_buffer(buffer: &[u8], payload_type: PayloadType) -> Self {
[INFO] [stdout]     |                   ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 255 |     pub(crate) fn len(&self) -> usize {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Key` is never used
[INFO] [stdout]    --> src/types.rs:272:17
[INFO] [stdout]     |
[INFO] [stdout] 272 | pub(crate) type Key = Payload;
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FAN_OUT` is never used
[INFO] [stdout]  --> src/btree.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const FAN_OUT: u8 = 1 << 3;
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Index` is never constructed
[INFO] [stdout]  --> src/btree.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Index {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]   --> src/btree.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Node {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `NodeType` is never used
[INFO] [stdout]   --> src/btree.rs:23:6
[INFO] [stdout]    |
[INFO] [stdout] 23 | enum NodeType {
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `CACHE` is never used
[INFO] [stdout]   --> src/io.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | static CACHE: Lazy<Mutex<HashMap<Offset, Arc<Mutex<Page>>>>> =
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INDEX_FILE` is never used
[INFO] [stdout]   --> src/io.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const INDEX_FILE: &str = "index.000";
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write` is never used
[INFO] [stdout]   --> src/io.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub(crate) fn write(page: &Page) {
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read` is never used
[INFO] [stdout]   --> src/io.rs:32:15
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub(crate) fn read(page_id: usize) -> Option<Arc<Mutex<Page>>> {
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_from_disk` is never used
[INFO] [stdout]   --> src/io.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn read_from_disk(page_id: usize) -> Option<Arc<Mutex<Page>>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_index` is never used
[INFO] [stdout]   --> src/io.rs:53:15
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub(crate) fn delete_index() {
[INFO] [stdout]    |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TOTAL_CONFIG_SIZE` is never used
[INFO] [stdout]  --> src/config.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const TOTAL_CONFIG_SIZE: u64 = O_NEXT_PAGE_ID + size_of::<u64>() as u64;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `Offset` should have a snake case name
[INFO] [stdout]   --> src/types.rs:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub(crate) const fn Offset(value: u16) -> Offset {
[INFO] [stdout]    |                     ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `offset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/paging.rs:926:9
[INFO] [stdout]     |
[INFO] [stdout] 926 |     for i in 0..MAX_FAN_OUT + 1 {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/paging.rs:963:9
[INFO] [stdout]     |
[INFO] [stdout] 963 |     for i in 0..MIN_FAN_OUT - 1 {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/paging.rs:146:12
[INFO] [stdout]     |
[INFO] [stdout]  92 | impl Page {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn add_left_most(&mut self, left_most_page_id: Offset) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 366 |     fn update_slot_table_item(&mut self, index: usize, offset: Offset) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 585 |     pub(crate) fn page_type(&self) -> u8 {
[INFO] [stdout]     |                   ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 607 |     fn left_most_page_id(&self) -> Offset {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 617 |     fn left_sibling(&self) -> Offset {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 634 |     fn right_sibling(&self) -> Offset {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 651 |     fn parent(&self) -> Offset {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `from_u16` and `size` are never used
[INFO] [stdout]   --> src/types.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl OffsetType<u16> {
[INFO] [stdout]    | -------------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub(crate) fn from_u16(i: u16) -> Self {
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub(crate) fn size() -> usize {
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `U32`, `I64`, and `U8` are never constructed
[INFO] [stdout]    --> src/types.rs:184:5
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub(crate) enum PayloadType {
[INFO] [stdout]     |                 ----------- variants in this enum
[INFO] [stdout] 183 |     Str = 1,
[INFO] [stdout] 184 |     U32 = 2,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 185 |     U16 = 3,
[INFO] [stdout] 186 |     I64 = 4,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 187 |     U8 = 5,
[INFO] [stdout]     |     ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `PayloadType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `from_u32`, `from_i64`, and `from_buffer` are never used
[INFO] [stdout]    --> src/types.rs:221:19
[INFO] [stdout]     |
[INFO] [stdout] 202 | impl Payload {
[INFO] [stdout]     | ------------ associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 221 |     pub(crate) fn from_u32(payload: u32) -> Self {
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 239 |     pub(crate) fn from_i64(payload: i64) -> Self {
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 247 |     pub(crate) fn from_buffer(buffer: &[u8], payload_type: PayloadType) -> Self {
[INFO] [stdout]     |                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FAN_OUT` is never used
[INFO] [stdout]  --> src/btree.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const FAN_OUT: u8 = 1 << 3;
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Index` is never constructed
[INFO] [stdout]  --> src/btree.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Index {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]   --> src/btree.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Node {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `NodeType` is never used
[INFO] [stdout]   --> src/btree.rs:23:6
[INFO] [stdout]    |
[INFO] [stdout] 23 | enum NodeType {
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TOTAL_CONFIG_SIZE` is never used
[INFO] [stdout]  --> src/config.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const TOTAL_CONFIG_SIZE: u64 = O_NEXT_PAGE_ID + size_of::<u64>() as u64;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `Offset` should have a snake case name
[INFO] [stdout]   --> src/types.rs:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub(crate) const fn Offset(value: u16) -> Offset {
[INFO] [stdout]    |                     ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `offset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.37s
[INFO] running `Command { std: "docker" "inspect" "936d0174d5961aba55a6d41cccfcb0058f3979be51d4c94f91e5747947801c3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "936d0174d5961aba55a6d41cccfcb0058f3979be51d4c94f91e5747947801c3a", kill_on_drop: false }`
[INFO] [stdout] 936d0174d5961aba55a6d41cccfcb0058f3979be51d4c94f91e5747947801c3a
